package com.chart.chart.domian;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.chart.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("chart_color")
public class ChartColor extends BaseEntity {

    @TableId(value = "color_id", type = IdType.AUTO)
    private Long colorId;

    @TableField("user_id")
    private Long userId;

    @TableField("color_codes")
    private String colorCodes;



    @TableField("id")
    private String id;

    @TableField("delect_time")
    private Date delectTime;

    @TableField("version")
    private Integer version;


}
